package com.pay.model.auto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 支付账户详情
 *
 * @author fuce
 * @email 87766867@qq.com
 * @date 2019-06-24 11:42:54
 */
public class PayAccountDetail implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 账户明细
     */
    private String id;

    /**
     * 账户类型+账户编号
     */
    private String serialNumber;

    /**
     * 支付类型：alipay、wxpay
     */
    private Integer payType;

    /**
     * 支付前金额
     */
    private BigDecimal currentMoney;

    /**
     * 支付金额
     */
    private BigDecimal payMoney;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }


    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber == null ? null : serialNumber.trim();
    }


    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }


    public BigDecimal getCurrentMoney() {
        return currentMoney;
    }

    public void setCurrentMoney(BigDecimal currentMoney) {
        this.currentMoney = currentMoney;
    }


    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }


    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }


}
